﻿package mortal.game.view.mail.view
{
    import com.mui.controls.*;
    import com.mui.core.*;
    import mortal.game.resource.*;
    import mortal.game.resource.info.item.*;
    import mortal.game.view.common.item.*;

    public class MailAttachItem extends BaseItem
    {
        private var _bgBmp:GBitmap;

        public function MailAttachItem()
        {
            return;
        }// end function

        override protected function createDisposedChildrenImpl() : void
        {
            super.createDisposedChildrenImpl();
            this.isShowLock = true;
            this.isDragAble = false;
            this._bgBmp = GlobalClass.getBitmap(ImagesConst.PackItemBg);
            this.addChildAt(this._bgBmp, 0);
            return;
        }// end function

        override protected function disposeImpl(param1:Boolean = true) : void
        {
            this.isShowLock = false;
            this._bgBmp.dispose(param1);
            this._bgBmp = null;
            super.disposeImpl(param1);
            return;
        }// end function

        override public function set itemData(param1:ItemData) : void
        {
            super.itemData = param1;
            return;
        }// end function

    }
}
